package com.cqhilink.iot.jobstandardmanagement.services.outerservice.impl;

import com.cqhilink.iot.jobstandardmanagement.facade.model.WwpAccount;
import com.cqhilink.iot.jobstandardmanagement.facade.service.OutWwpAccountService;
import com.cqhilink.iot.jobstandardmanagement.facade.service.wwpaccount.JsmWwpAccountService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by huangxueqian@cqhilink.com on 2016/11/10.
 */
public class OutWwpAccountServiceImpl implements OutWwpAccountService {


    @Autowired
    private JsmWwpAccountService wwpAccountService  ;

    @Override
    public WwpAccount findWwpAccount(String login, String password) {

        return wwpAccountService.findWwpAccount(login,password);
    }

    public void setWwpAccountService(JsmWwpAccountService wwpAccountService) {
        this.wwpAccountService = wwpAccountService;
    }

    public JsmWwpAccountService getWwpAccountService() {
        return wwpAccountService;
    }
}
